package com.yuyou.fn.educational.mapper;

import com.github.wens.mybatisplus.mapper.AutoMapper;
import com.yuyou.fn.educational.entity.AttendClassLecture;
import com.yuyou.fn.educational.vo.AttendWarningQueryVo;
import com.yuyou.fn.educational.vo.AttendWarningVo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 *
 * AttendClassLecture 表数据库控制层接口
 *
 */
public interface AttendClassLectureMapper extends AutoMapper<AttendClassLecture,String> {

    List<AttendWarningVo> findAttendWarningList(@Param("attendWarningQueryVo")AttendWarningQueryVo attendWarningQueryVo, @Param("nowTime")String nowTime, @Param("begin")int begin, @Param("limit")int limit);


    Integer countAttendWarning(@Param("attendWarningQueryVo")AttendWarningQueryVo attendWarningQueryVo,  @Param("nowTime")String nowTime);

    List<String> findClassTimeByPeriodDate(@Param("periodId") Long periodId,@Param("startClassDate") Date startClassDate, @Param("endClassDate")Date endClassDate,@Param("busTeamIds") List<Long> busTeamIds) ;
}